package com.apexedu.portal.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Blob;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * Created with IntelliJ IDEA. User: jeff Date: 14-3-10 Time: 上午9:35 To change
 * this template use File | Settings | File Templates.
 */
@SuppressWarnings("serial")
public class Tblog implements Serializable {
	private Long id;
	private String title;
	private Integer category;
	private BigDecimal stick;
	private BigDecimal rec;
	private BigDecimal pick;
	private Integer type;
	private String content;
	private Blob attachment;
	private Integer visits;
	private Integer comments;
	private Date lastcommenttime;
	private Integer uid;
	private Integer fbbm;
	private Blob picture1;
	private Blob picture2;
	private Date pubtime;
	private String scope;

	// 非表字段
	private String bmname;
	private String fbsj;
	private List<Lbnewsattachment> attach = new ArrayList<Lbnewsattachment>();

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Integer getCategory() {
		return category;
	}

	public void setCategory(Integer category) {
		this.category = category;
	}

	public BigDecimal getStick() {
		return stick;
	}

	public void setStick(BigDecimal stick) {
		this.stick = stick;
	}

	public BigDecimal getRec() {
		return rec;
	}

	public void setRec(BigDecimal rec) {
		this.rec = rec;
	}

	public BigDecimal getPick() {
		return pick;
	}

	public void setPick(BigDecimal pick) {
		this.pick = pick;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Blob getAttachment() {
		return attachment;
	}

	public void setAttachment(Blob attachment) {
		this.attachment = attachment;
	}

	public Integer getVisits() {
		return visits;
	}

	public void setVisits(Integer visits) {
		this.visits = visits;
	}

	public Integer getComments() {
		return comments;
	}

	public void setComments(Integer comments) {
		this.comments = comments;
	}

	public Date getLastcommenttime() {
		return lastcommenttime;
	}

	public void setLastcommenttime(Date lastcommenttime) {
		this.lastcommenttime = lastcommenttime;
	}

	public Integer getUid() {
		return uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public Integer getFbbm() {
		return fbbm;
	}

	public void setFbbm(Integer fbbm) {
		this.fbbm = fbbm;
	}

	public Blob getPicture1() {
		return picture1;
	}

	public void setPicture1(Blob picture1) {
		this.picture1 = picture1;
	}

	public Blob getPicture2() {
		return picture2;
	}

	public void setPicture2(Blob picture2) {
		this.picture2 = picture2;
	}

	public Date getPubtime() {
		return pubtime;
	}

	public void setPubtime(Date pubtime) {
		this.pubtime = pubtime;
	}

	public String getScope() {
		return scope;
	}

	public void setScope(String scope) {
		this.scope = scope;
	}

	public String getFbsj() {
		return fbsj;
	}

	public void setFbsj(String fbsj) {
		this.fbsj = fbsj;
	}

	public String getBmname() {
		return bmname;
	}

	public void setBmname(String bmname) {
		this.bmname = bmname;
	}

	public List<Lbnewsattachment> getAttach() {
		return attach;
	}

	public void setAttach(List<Lbnewsattachment> attach) {
		this.attach = attach;
	}
}
